package com.gopay.common.domain.ep;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import com.gopay.common.domain.BaseEntity;

/**
 * 短信建议配置表
 * @EpCardApiSmsAdvice.java
 * @author dongdh
 * @2016年4月29日 下午2:25:30  www.gopay.com.cn Inc.All rights reserved.
 */

@Entity
@Table(name = "EP_CARD_API_SMS_ADVICE")
public class EpCardApiSmsAdvice extends BaseEntity {

    /**
     */
    private static final long serialVersionUID = 2662215569152146535L;

    @Id
    @SequenceGenerator(name="EP_CARD_API_SMS_ADVICE_ID_GENERATOR",allocationSize=1,initialValue=1, sequenceName="EP_CARD_API_SMS_ADVICE_SEQ")
    @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="EP_CARD_API_SMS_ADVICE_ID_GENERATOR")
    private Long id;
    
    @Column(name="sms_Advice")
    private String smsAdvice;
    
    @Column(name="paychannel")
    private String paychannel;
    
    @Column(name="cust_Id")
    private String custId;
    
    @Column(name="CREATE_OPER_ID")
    private String createOperId;

    @Column(name="CREATED_TS")
    private Date createdTs;
    
    @Column(name="LAST_UPD_OPER_ID")
    private String lastUpdOperId;

    @Column(name="LAST_UPD_TS")
    private Date lastUpdTs;
    
    @Column(name="\"VERSION\"")
    private Integer version;

    @Column(name="ACCT_ID")
    private String acctId;

    @Column(name="NOTIFY_TYPE")
    private String notifyType;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSmsAdvice() {
        return smsAdvice;
    }

    public void setSmsAdvice(String smsAdvice) {
        this.smsAdvice = smsAdvice;
    }

    public String getPaychannel() {
        return paychannel;
    }

    public void setPaychannel(String paychannel) {
        this.paychannel = paychannel;
    }

    public String getCustId() {
        return custId;
    }

    public void setCustId(String custId) {
        this.custId = custId;
    }

    public String getCreateOperId() {
        return createOperId;
    }

    public void setCreateOperId(String createOperId) {
        this.createOperId = createOperId;
    }

    public Date getCreatedTs() {
        return createdTs;
    }

    public void setCreatedTs(Date createdTs) {
        this.createdTs = createdTs;
    }

    public String getLastUpdOperId() {
        return lastUpdOperId;
    }

    public void setLastUpdOperId(String lastUpdOperId) {
        this.lastUpdOperId = lastUpdOperId;
    }

    public Date getLastUpdTs() {
        return lastUpdTs;
    }

    public void setLastUpdTs(Date lastUpdTs) {
        this.lastUpdTs = lastUpdTs;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public String getAcctId() { return acctId; }

    public void setAcctId(String acctId) { this.acctId = acctId; }

    public String getNotifyType() { return notifyType; }

    public void setNotifyType(String notifyType) { this.notifyType = notifyType; }
}
